<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
</head>
<body>
<div id='one'>
	<div>1</div>
	<div>2</div>
</div>
<div id="two"></div>
</body>
<script type="text/javascript">
(function(){
	var one = document.getElementById("one"),
		two = document.getElementById("two"),
		children = one.childNodes;
	for(var i = 0;i < children.length;i++){
		two.appendChild(children[i].cloneNode(true));
	}
	one.parentNode.removeChild(one);
})()
</script>
</html>